

<div class="col-sm-12 mt20" ng-keyup="myKeyup($event)">
    <div class="panel panel-default">
    <div class="panel-body">
    <div class="col-sm-12">
    
        <div class="row ">
            <div class="col-sm-2">
                <input type="text" class="form-control"  ng-model="searchform.source_name" placeholder="投诉场所名称"> 
            </div>
            <div class="col-sm-2">
                <ui-select ng-model="searchform.place_type" theme="bootstrap" >
                    <ui-select-match placeholder="请选择场所类型">
                        {{$select.selected.name}}
                    </ui-select-match>
                    <ui-select-choices repeat="item.code as item in typearr | filter: $select.search">
                        <span ng-bind-html="item.name | highlight: $select.search"></span>
                    </ui-select-choices>
                </ui-select> 
            </div>
            <div class="col-sm-2">
                <ui-select ng-model="searchform.travel_mode" theme="bootstrap" >
                    <ui-select-match placeholder="请选择出行方式">
                        {{$select.selected.name}}
                    </ui-select-match>
                    <ui-select-choices repeat="item.code as item in travelmode | filter: $select.search">
                        <span ng-bind-html="item.name | highlight: $select.search"></span>
                    </ui-select-choices>
                </ui-select>
            </div>
            <div class="col-sm-2">
                <ui-select ng-model="searchform.state" theme="bootstrap" >
                    <ui-select-match placeholder="请选择处理状态">
                        {{$select.selected.name}}
                    </ui-select-match>
                    <ui-select-choices repeat="item.code as item in statearr | filter: $select.search">
                        <span ng-bind-html="item.name | highlight: $select.search"></span>
                    </ui-select-choices>
                </ui-select>
            </div>
            <div class="col-sm-2 col-sm-offset-2">
                <button class="btn btn-block btn-info" ng-click="load()">搜索</button> 
            </div>
            <!-- <div class="col-sm-2">
                <input type="text" class="form-control" ng-model="searchform.name" placeholder="姓名"> 
            </div>
            <div class="col-sm-2">
                <ui-select ng-model="searchform.place_code1" theme="bootstrap" >
                    <ui-select-match placeholder="请选择一个景区">
                        {{$select.selected.name}}
                    </ui-select-match>
                    <ui-select-choices repeat="item.code as item in viewarr | filter: $select.search">
                        <span ng-bind-html="item.name | highlight: $select.search"></span>
                    </ui-select-choices>
                </ui-select>
            </div>
            <div class="col-sm-2">
                <input type="text" class="form-control" ng-model="searchform.name1" placeholder="姓名"> 
            </div> -->
        </div>
    
        <!-- <div class="row mt10">
            <div class="col-sm-2">
                <input type="text" class="form-control" datepicker-popup="yyyy-MM-dd" ng-model="start.date" is-open="start.opened" readonly ng-click="open(start)" placeholder="开始时间"/>
            </div>
            <div class="col-sm-2">
                <input type="text" class="form-control" datepicker-popup="yyyy-MM-dd" ng-model="end.date" is-open="end.opened" readonly ng-click="open(end)" placeholder="结束时间"/>
            </div>
            <div class="col-sm-2">
                <input type="text" class="form-control" ng-model="searchform.cardno2" placeholder="身份证号">
            </div>
            <div class="col-sm-2">
                <input type="text" class="form-control" ng-model="searchform.name3" placeholder="姓名"> 
            </div>
    
            <div class="col-sm-2 col-sm-offset-2">
                <button class="btn btn-block btn-info">搜索</button> 
            </div>
    
        </div> -->
    
    </div>
    </div>
    </div>
    <!-- searchArea -->
    
    <div class="panel panel-default">
        <div class="panel-body">
            <table class="table table-condensed table-hover table-bordered">
                <thead>
                    <tr>
                        <th class="col-md-2 text-center">投诉场所名称</th>
                        <th class="col-md-2 text-center">出行方式</th>
                        <th class="col-md-1 text-center">场所类型</th>
                        <th class="col-md-2 text-center">用户昵称</th>
                        <th class="col-md-2 text-center">投诉时间</th>
                        <th class="col-md-1 text-center">处理状态</th>
                        <th class="col-md-2 text-center">操作</th>
                    </tr>
                </thead>
                <tbody>
                    <tr ng-repeat="obj in objs">
                        <td class="text-center">{{obj.source_name}}</td>
                        <td class="text-center">{{obj.travel_mode}}</td>
                        <td class="text-center">{{obj.place_type}}</td>
                        <td class="text-center">{{obj.nickname}}</td>
                        <td class="text-center">{{obj.create_time}}</td>
                        <td class="text-center">{{obj.state}}</td>
                        <td class="text-center">
                            <a ng-click="info(obj.id,obj.source_id)" class="btn btn-success btn-xs">详情</a>
                        </td>
                    </tr>
                </tbody>
            </table>
            <div class="text-right">
                 <pagination total-items="bigTotalItems" ng-model="bigCurrentPage" ng-change="load()" previous-text="上一页" next-text="下一页"
                    first-text="首页" last-text="尾页" max-size="maxSize" boundary-links="true" rotate="false" items-per-page="itemsPerPage"
                    class="m-t-none m-b">
                </pagination>
            </div>
        </div>
    </div>
    
    </div>